package com.cheng.chengrobot.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

//群友和gpt的聊天记录
@Data
public class GptChatHistory
{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Long    robotQq;
    private Long    groupQq;
    private Long    qq;
    private Date    time;
    private String  role;
    private String  message;

    public void setNull()
    {
        id = null;
        robotQq = null;
        groupQq = null;
        qq = null;
        time = null;
        role = null;
        message = null;
        return;
    }

}
